package cn.iocoder.yudao.module.vote.convert.voterecorddetail;

import java.util.*;

import cn.iocoder.yudao.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import cn.iocoder.yudao.module.vote.controller.admin.voterecorddetail.vo.*;
import cn.iocoder.yudao.module.vote.dal.dataobject.voterecorddetail.VoteRecordDetailDO;

/**
 * 投票记录详情 Convert
 *
 * @author 芋道源码
 */
@Mapper
public interface VoteRecordDetailConvert {

    VoteRecordDetailConvert INSTANCE = Mappers.getMapper(VoteRecordDetailConvert.class);

    VoteRecordDetailDO convert(VoteRecordDetailCreateReqVO bean);

    VoteRecordDetailDO convert(VoteRecordDetailUpdateReqVO bean);

    VoteRecordDetailRespVO convert(VoteRecordDetailDO bean);

    List<VoteRecordDetailRespVO> convertList(List<VoteRecordDetailDO> list);

    PageResult<VoteRecordDetailRespVO> convertPage(PageResult<VoteRecordDetailDO> page);

    List<VoteRecordDetailExcelVO> convertList02(List<VoteRecordDetailDO> list);

}
